package com.alibaba.citrus.cr.unified.inventory.functions.service;

import com.alibaba.citrus.cr.unified.inventory.model.AllocateOrderEntity;
import com.alibaba.citrus.cr.unified.inventory.model.TransferOrderCloseRequest;
import com.alibaba.citrus.cr.unified.inventory.model.TransferOrderCloseResponse;
import com.alibaba.cloud.retail.wms.api.model.orders.common.WarehousingOrderDTO;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.crunifiedinventory.domain.allocateorderdetail.model.AllocateOrderDetail;
import com.epoch.app.crunifiedinventory.dto.request.AllocateOrderSyncRequest;

import java.util.List;

/**
 * @description:
 * @author: yuhw
 * @date: 2024年03月05日 19:31
 **/
public interface AllocateOrderCloseService {

    Result<TransferOrderCloseResponse> closeAllocateOrder(TransferOrderCloseRequest transferOrderCloseRequest);

    Result<Boolean> closeAllocateOrder(AllocateOrderEntity current,
                                    List<AllocateOrderDetail> closeDetailList,
                                    List<WarehousingOrderDTO> warehousingOrderDTOList);
}
